package com.bl.weilan.service.vo.user;

import com.bl.weilan.service.vo.AbstractVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * Created by yujingyi on 2017/8/11.
 */
@Data
@ApiModel(value="userInfoModifyBody", description="用户信息修改请求body", discriminator = "用户信息修改请求body")
public class UserInfoModifyVo extends AbstractVo {

    @NotNull(message = "用户id不能为空")
    @ApiModelProperty(value = "用户id", required = true)
    private String id;

    @Size(max = 30, message = "姓名不能超过20个字")
    @ApiModelProperty(value = "姓名", required = true)
    private String name;

    @ApiModelProperty(value = "头像", required = true)
    private String avatar;

    @ApiModelProperty(value = "省ID", required = true)
    private String provinceId;

    @ApiModelProperty(value = "理想院校", required = true)
    private String college;

    @ApiModelProperty(value = "标签ID 多个用,(英文逗号)隔开", required = false)
    private List<String> tags;

    @ApiModelProperty(value = "高中")
    @NotNull(message = "高中不能为空")
    private String highSchool;

}
